package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbSupplierExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbSupplierExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNull() {
            addCriterion("province_id is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNotNull() {
            addCriterion("province_id is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdEqualTo(Integer value) {
            addCriterion("province_id =", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotEqualTo(Integer value) {
            addCriterion("province_id <>", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThan(Integer value) {
            addCriterion("province_id >", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("province_id >=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThan(Integer value) {
            addCriterion("province_id <", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThanOrEqualTo(Integer value) {
            addCriterion("province_id <=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIn(List<Integer> values) {
            addCriterion("province_id in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotIn(List<Integer> values) {
            addCriterion("province_id not in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdBetween(Integer value1, Integer value2) {
            addCriterion("province_id between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("province_id not between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(Integer value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(Integer value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(Integer value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(Integer value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(Integer value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<Integer> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<Integer> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(Integer value1, Integer value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIsChainIsNull() {
            addCriterion("is_chain is null");
            return (Criteria) this;
        }

        public Criteria andIsChainIsNotNull() {
            addCriterion("is_chain is not null");
            return (Criteria) this;
        }

        public Criteria andIsChainEqualTo(Byte value) {
            addCriterion("is_chain =", value, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainNotEqualTo(Byte value) {
            addCriterion("is_chain <>", value, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainGreaterThan(Byte value) {
            addCriterion("is_chain >", value, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_chain >=", value, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainLessThan(Byte value) {
            addCriterion("is_chain <", value, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainLessThanOrEqualTo(Byte value) {
            addCriterion("is_chain <=", value, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainIn(List<Byte> values) {
            addCriterion("is_chain in", values, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainNotIn(List<Byte> values) {
            addCriterion("is_chain not in", values, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainBetween(Byte value1, Byte value2) {
            addCriterion("is_chain between", value1, value2, "isChain");
            return (Criteria) this;
        }

        public Criteria andIsChainNotBetween(Byte value1, Byte value2) {
            addCriterion("is_chain not between", value1, value2, "isChain");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andContactIsNull() {
            addCriterion("contact is null");
            return (Criteria) this;
        }

        public Criteria andContactIsNotNull() {
            addCriterion("contact is not null");
            return (Criteria) this;
        }

        public Criteria andContactEqualTo(String value) {
            addCriterion("contact =", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotEqualTo(String value) {
            addCriterion("contact <>", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThan(String value) {
            addCriterion("contact >", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThanOrEqualTo(String value) {
            addCriterion("contact >=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThan(String value) {
            addCriterion("contact <", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThanOrEqualTo(String value) {
            addCriterion("contact <=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLike(String value) {
            addCriterion("contact like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotLike(String value) {
            addCriterion("contact not like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactIn(List<String> values) {
            addCriterion("contact in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotIn(List<String> values) {
            addCriterion("contact not in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactBetween(String value1, String value2) {
            addCriterion("contact between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotBetween(String value1, String value2) {
            addCriterion("contact not between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andFaxIsNull() {
            addCriterion("fax is null");
            return (Criteria) this;
        }

        public Criteria andFaxIsNotNull() {
            addCriterion("fax is not null");
            return (Criteria) this;
        }

        public Criteria andFaxEqualTo(String value) {
            addCriterion("fax =", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotEqualTo(String value) {
            addCriterion("fax <>", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThan(String value) {
            addCriterion("fax >", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThanOrEqualTo(String value) {
            addCriterion("fax >=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThan(String value) {
            addCriterion("fax <", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThanOrEqualTo(String value) {
            addCriterion("fax <=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLike(String value) {
            addCriterion("fax like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotLike(String value) {
            addCriterion("fax not like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxIn(List<String> values) {
            addCriterion("fax in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotIn(List<String> values) {
            addCriterion("fax not in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxBetween(String value1, String value2) {
            addCriterion("fax between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotBetween(String value1, String value2) {
            addCriterion("fax not between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andBcIdIsNull() {
            addCriterion("bc_id is null");
            return (Criteria) this;
        }

        public Criteria andBcIdIsNotNull() {
            addCriterion("bc_id is not null");
            return (Criteria) this;
        }

        public Criteria andBcIdEqualTo(Integer value) {
            addCriterion("bc_id =", value, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdNotEqualTo(Integer value) {
            addCriterion("bc_id <>", value, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdGreaterThan(Integer value) {
            addCriterion("bc_id >", value, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bc_id >=", value, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdLessThan(Integer value) {
            addCriterion("bc_id <", value, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdLessThanOrEqualTo(Integer value) {
            addCriterion("bc_id <=", value, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdIn(List<Integer> values) {
            addCriterion("bc_id in", values, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdNotIn(List<Integer> values) {
            addCriterion("bc_id not in", values, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdBetween(Integer value1, Integer value2) {
            addCriterion("bc_id between", value1, value2, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bc_id not between", value1, value2, "bcId");
            return (Criteria) this;
        }

        public Criteria andBcNameIsNull() {
            addCriterion("bc_name is null");
            return (Criteria) this;
        }

        public Criteria andBcNameIsNotNull() {
            addCriterion("bc_name is not null");
            return (Criteria) this;
        }

        public Criteria andBcNameEqualTo(String value) {
            addCriterion("bc_name =", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameNotEqualTo(String value) {
            addCriterion("bc_name <>", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameGreaterThan(String value) {
            addCriterion("bc_name >", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameGreaterThanOrEqualTo(String value) {
            addCriterion("bc_name >=", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameLessThan(String value) {
            addCriterion("bc_name <", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameLessThanOrEqualTo(String value) {
            addCriterion("bc_name <=", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameLike(String value) {
            addCriterion("bc_name like", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameNotLike(String value) {
            addCriterion("bc_name not like", value, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameIn(List<String> values) {
            addCriterion("bc_name in", values, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameNotIn(List<String> values) {
            addCriterion("bc_name not in", values, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameBetween(String value1, String value2) {
            addCriterion("bc_name between", value1, value2, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcNameNotBetween(String value1, String value2) {
            addCriterion("bc_name not between", value1, value2, "bcName");
            return (Criteria) this;
        }

        public Criteria andBcBankIsNull() {
            addCriterion("bc_bank is null");
            return (Criteria) this;
        }

        public Criteria andBcBankIsNotNull() {
            addCriterion("bc_bank is not null");
            return (Criteria) this;
        }

        public Criteria andBcBankEqualTo(String value) {
            addCriterion("bc_bank =", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankNotEqualTo(String value) {
            addCriterion("bc_bank <>", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankGreaterThan(String value) {
            addCriterion("bc_bank >", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankGreaterThanOrEqualTo(String value) {
            addCriterion("bc_bank >=", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankLessThan(String value) {
            addCriterion("bc_bank <", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankLessThanOrEqualTo(String value) {
            addCriterion("bc_bank <=", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankLike(String value) {
            addCriterion("bc_bank like", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankNotLike(String value) {
            addCriterion("bc_bank not like", value, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankIn(List<String> values) {
            addCriterion("bc_bank in", values, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankNotIn(List<String> values) {
            addCriterion("bc_bank not in", values, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankBetween(String value1, String value2) {
            addCriterion("bc_bank between", value1, value2, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcBankNotBetween(String value1, String value2) {
            addCriterion("bc_bank not between", value1, value2, "bcBank");
            return (Criteria) this;
        }

        public Criteria andBcCardnoIsNull() {
            addCriterion("bc_cardno is null");
            return (Criteria) this;
        }

        public Criteria andBcCardnoIsNotNull() {
            addCriterion("bc_cardno is not null");
            return (Criteria) this;
        }

        public Criteria andBcCardnoEqualTo(String value) {
            addCriterion("bc_cardno =", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoNotEqualTo(String value) {
            addCriterion("bc_cardno <>", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoGreaterThan(String value) {
            addCriterion("bc_cardno >", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoGreaterThanOrEqualTo(String value) {
            addCriterion("bc_cardno >=", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoLessThan(String value) {
            addCriterion("bc_cardno <", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoLessThanOrEqualTo(String value) {
            addCriterion("bc_cardno <=", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoLike(String value) {
            addCriterion("bc_cardno like", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoNotLike(String value) {
            addCriterion("bc_cardno not like", value, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoIn(List<String> values) {
            addCriterion("bc_cardno in", values, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoNotIn(List<String> values) {
            addCriterion("bc_cardno not in", values, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoBetween(String value1, String value2) {
            addCriterion("bc_cardno between", value1, value2, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcCardnoNotBetween(String value1, String value2) {
            addCriterion("bc_cardno not between", value1, value2, "bcCardno");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameIsNull() {
            addCriterion("bc_account_name is null");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameIsNotNull() {
            addCriterion("bc_account_name is not null");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameEqualTo(String value) {
            addCriterion("bc_account_name =", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameNotEqualTo(String value) {
            addCriterion("bc_account_name <>", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameGreaterThan(String value) {
            addCriterion("bc_account_name >", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameGreaterThanOrEqualTo(String value) {
            addCriterion("bc_account_name >=", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameLessThan(String value) {
            addCriterion("bc_account_name <", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameLessThanOrEqualTo(String value) {
            addCriterion("bc_account_name <=", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameLike(String value) {
            addCriterion("bc_account_name like", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameNotLike(String value) {
            addCriterion("bc_account_name not like", value, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameIn(List<String> values) {
            addCriterion("bc_account_name in", values, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameNotIn(List<String> values) {
            addCriterion("bc_account_name not in", values, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameBetween(String value1, String value2) {
            addCriterion("bc_account_name between", value1, value2, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcAccountNameNotBetween(String value1, String value2) {
            addCriterion("bc_account_name not between", value1, value2, "bcAccountName");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceIsNull() {
            addCriterion("bc_invoice is null");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceIsNotNull() {
            addCriterion("bc_invoice is not null");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceEqualTo(Byte value) {
            addCriterion("bc_invoice =", value, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceNotEqualTo(Byte value) {
            addCriterion("bc_invoice <>", value, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceGreaterThan(Byte value) {
            addCriterion("bc_invoice >", value, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceGreaterThanOrEqualTo(Byte value) {
            addCriterion("bc_invoice >=", value, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceLessThan(Byte value) {
            addCriterion("bc_invoice <", value, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceLessThanOrEqualTo(Byte value) {
            addCriterion("bc_invoice <=", value, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceIn(List<Byte> values) {
            addCriterion("bc_invoice in", values, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceNotIn(List<Byte> values) {
            addCriterion("bc_invoice not in", values, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceBetween(Byte value1, Byte value2) {
            addCriterion("bc_invoice between", value1, value2, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcInvoiceNotBetween(Byte value1, Byte value2) {
            addCriterion("bc_invoice not between", value1, value2, "bcInvoice");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateIsNull() {
            addCriterion("bc_taxi_rate is null");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateIsNotNull() {
            addCriterion("bc_taxi_rate is not null");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateEqualTo(BigDecimal value) {
            addCriterion("bc_taxi_rate =", value, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateNotEqualTo(BigDecimal value) {
            addCriterion("bc_taxi_rate <>", value, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateGreaterThan(BigDecimal value) {
            addCriterion("bc_taxi_rate >", value, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bc_taxi_rate >=", value, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateLessThan(BigDecimal value) {
            addCriterion("bc_taxi_rate <", value, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bc_taxi_rate <=", value, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateIn(List<BigDecimal> values) {
            addCriterion("bc_taxi_rate in", values, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateNotIn(List<BigDecimal> values) {
            addCriterion("bc_taxi_rate not in", values, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bc_taxi_rate between", value1, value2, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcTaxiRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bc_taxi_rate not between", value1, value2, "bcTaxiRate");
            return (Criteria) this;
        }

        public Criteria andBcEmailIsNull() {
            addCriterion("bc_email is null");
            return (Criteria) this;
        }

        public Criteria andBcEmailIsNotNull() {
            addCriterion("bc_email is not null");
            return (Criteria) this;
        }

        public Criteria andBcEmailEqualTo(String value) {
            addCriterion("bc_email =", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailNotEqualTo(String value) {
            addCriterion("bc_email <>", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailGreaterThan(String value) {
            addCriterion("bc_email >", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailGreaterThanOrEqualTo(String value) {
            addCriterion("bc_email >=", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailLessThan(String value) {
            addCriterion("bc_email <", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailLessThanOrEqualTo(String value) {
            addCriterion("bc_email <=", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailLike(String value) {
            addCriterion("bc_email like", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailNotLike(String value) {
            addCriterion("bc_email not like", value, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailIn(List<String> values) {
            addCriterion("bc_email in", values, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailNotIn(List<String> values) {
            addCriterion("bc_email not in", values, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailBetween(String value1, String value2) {
            addCriterion("bc_email between", value1, value2, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andBcEmailNotBetween(String value1, String value2) {
            addCriterion("bc_email not between", value1, value2, "bcEmail");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNull() {
            addCriterion("priority is null");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNotNull() {
            addCriterion("priority is not null");
            return (Criteria) this;
        }

        public Criteria andPriorityEqualTo(Short value) {
            addCriterion("priority =", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotEqualTo(Short value) {
            addCriterion("priority <>", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThan(Short value) {
            addCriterion("priority >", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThanOrEqualTo(Short value) {
            addCriterion("priority >=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThan(Short value) {
            addCriterion("priority <", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThanOrEqualTo(Short value) {
            addCriterion("priority <=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityIn(List<Short> values) {
            addCriterion("priority in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotIn(List<Short> values) {
            addCriterion("priority not in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityBetween(Short value1, Short value2) {
            addCriterion("priority between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotBetween(Short value1, Short value2) {
            addCriterion("priority not between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeIsNull() {
            addCriterion("supplier_type is null");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeIsNotNull() {
            addCriterion("supplier_type is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeEqualTo(Integer value) {
            addCriterion("supplier_type =", value, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeNotEqualTo(Integer value) {
            addCriterion("supplier_type <>", value, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeGreaterThan(Integer value) {
            addCriterion("supplier_type >", value, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("supplier_type >=", value, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeLessThan(Integer value) {
            addCriterion("supplier_type <", value, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeLessThanOrEqualTo(Integer value) {
            addCriterion("supplier_type <=", value, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeIn(List<Integer> values) {
            addCriterion("supplier_type in", values, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeNotIn(List<Integer> values) {
            addCriterion("supplier_type not in", values, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeBetween(Integer value1, Integer value2) {
            addCriterion("supplier_type between", value1, value2, "supplierType");
            return (Criteria) this;
        }

        public Criteria andSupplierTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("supplier_type not between", value1, value2, "supplierType");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}